package com.zy.aiLocation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zy.common.annotation.Excel;
import com.zy.common.core.domain.BaseEntity;

/**
 * 房东管理对象 tb_landlords
 * 
 * @author 张瑶
 * @date 2025-01-25
 */
public class Landlord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识，主键自增 */
    private Long id;

    /** 房东姓名 */
    @Excel(name = "房东姓名")
    private String name;

    /** 性别，男、女 */
    @Excel(name = "性别，男、女")
    private String gender;

    /** 头像地址，可为空 */
    @Excel(name = "头像地址，可为空")
    private String avatarUrl;

    /** 手机号，唯一且不为空 */
    @Excel(name = "手机号，唯一且不为空")
    private String phoneNumber;

    /** 账号，唯一且不为空 */
    @Excel(name = "账号，唯一且不为空")
    private String account;

    /** 密码，加密存储 */
    @Excel(name = "密码，加密存储")
    private String password;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("avatarUrl", getAvatarUrl())
            .append("phoneNumber", getPhoneNumber())
            .append("account", getAccount())
            .append("password", getPassword())
            .toString();
    }
}
